home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3w / fmwhole.z / fmwhole
Encoding:
Text File  |  2002-10-03  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. FFFFMMMMGGGGEEEETTTTWWWWHHHHOOOOLLLLEEEEMMMMEEEETTTTRRRRIIIICCCCSSSS((((3333WWWW))))                                    FFFFMMMMGGGGEEEETTTTWWWWHHHHOOOOLLLLEEEEMMMMEEEETTTTRRRRIIIICCCCSSSS((((3333WWWW))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      fmgetwholemetrics - return information about each of the characters in a
  10.      font
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ffffmmmmcccclllliiiieeeennnntttt....hhhh>>>>
  14.  
  15.      iiiinnnntttt ffffmmmmggggeeeettttwwwwhhhhoooolllleeeemmmmeeeettttrrrriiiiccccssss((((ffffhhhh,,,, ffffiiii))))
  16.      ffffmmmmffffoooonnnntttthhhhaaaannnnddddlllleeee ffffhhhh;;;;
  17.      ffffmmmmggggllllyyyypppphhhhiiiinnnnffffoooo ****ffffiiii;;;;
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      _f_m_g_e_t_w_h_o_l_e_m_e_t_r_i_c_s gets the glyph (character) information associated the
  21.      font handle _f_h and writes it to the _f_m_g_l_y_p_h_i_n_f_o structures pointed to by
  22.      the elements of the _f_i array.  You should allocate enough space to
  23.      contain _n_g_l_y_p_h_s*_s_i_z_e_o_f(_f_m_g_l_y_p_h_i_n_f_o).  _f_m_g_e_t_w_h_o_l_e_m_e_t_r_i_c_s fills only those
  24.      structures of the _f_i array that have corresponding glyphs in the font
  25.      file. Therefore, you should initialize all the _f_m_g_l_y_p_h_i_n_f_o structures
  26.      before calling _f_m_g_e_t_w_h_o_m_e_t_r_i_c_s.  (For example, you could use _c_a_l_l_o_c to
  27.      allocate the space.  See the _m_a_l_l_o_c(3c) man page.)
  28.  
  29.      The returned function value of _f_m_g_e_t_w_h_o_l_e_m_e_t_r_i_c_s is 0 if it executed
  30.      successfully.  But if _f_m_g_e_t_w_h_o_l_e_m_e_t_r_i_c_s cannot find the font referenced
  31.      by _f_h, the returned value of _f_m_g_e_t_w_h_o_l_e_m_e_t_r_i_c_s is -1.
  32.  
  33.      As with _f_m_g_e_t_f_o_n_t_i_n_f_o, the _f_m_g_l_y_p_h_i_n_f_o structure is defined so as to be
  34.      usable by FORTRAN clients.  Refer to /_u_s_r/_i_n_c_l_u_d_e/_f_m_c_l_i_e_n_t._h
  35.  
  36. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.      fminit(3W), fmfindfont(3W), fmscalefont(3W), fmgetfontinfo(3W).
  38.  
  39. NNNNOOOOTTTTEEEE
  40.      This routine is available only in immediate mode.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.